import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/login'

import {page403,page500,page404,routerList} from "./router";

Vue.use(Router);

export default new Router({
  routes: [

    {
      path: '/',
      name: 'login',
      component: Login
    },
    ...routerList,
    page500,
    page403,
    page404,
  ]
})
